<div>
  <form name="linecaution" class="form-horizontal form-validation">
    <div ng-repeat="ele in model">

      <div ng-switch="ele.id">

          <!-- xxxxx 购买须知-->
          <div ng-switch-when="cailiao">
            
            <div class="form-group">
              <label class="col-sm-2 control-label" 
              for={{ele.id}}>最晚收材料日
              </label>
              <div class="col-sm-10">
                <div>
                <label class="fl control-label ml10">提前</label>
                <div class=" fl ml10">
                  <input type="text" class="form-control" 
                  ng-model="result['bed_material_commit']"
                  style="width:70px;" 
                   ng-required = "true"
                  >
                </div>
                <label class="fl control-label ml10">个工作日</label>
              </div>
              </div>
            </div>
          </div>


          <div ng-switch-when="pay">
            <div class="form-group">
              <label class="col-sm-2 control-label" 
              for={{ele.id}}>*支付类型：
              </label>
              <div class="col-sm-10">
                <label class="fl control-label ml10">1.为确保您能够按时出行，产品确认后请在</label>
                <div class=" fl ml10">
                  <input type="number" class="form-control" 
                  ng-model="result['payinfo_full']"
                  style="width:70px;" 
                  ng-required = "true"
                  >
                </div>
                <label class="fl control-label ml10">小时内付款，同时按要求尽快提供出游所需要的材料并签订出游合同</label>
                
              </div>
              <label class="col-sm-2 control-label" 
              for={{ele.id}}>
              </label>
              <div class="col-sm-10">
                <label class="fl control-label ml10">2.为确保您能够按时出行，产品确认后请在</label>
                <div class=" fl ml10">
                  <input type="number" class="form-control" 
                  ng-model="result['payinfo_advance']"
                  style="width:70px;" 
                  ng-required = "true"
                  >
                </div>
                <label class="fl control-label ml10">小时内付预付款，同时按要求尽快提供出游所需要的材料，并于出团前5个工作日交齐尾款并签订出游合同</label>
                
              </div>
              <label class="col-sm-2 control-label" 
              for={{ele.id}}>
              </label>
              <div class="col-sm-10">
                <label class="fl control-label ml10">3.预定时请告知您的出游人数，出发日期、住宿、用餐标准、以及您的特殊要求</label>
              </div>
            </div>
            <div class="line line-dashed b-b line-lg pull-in"></div>

          </div>
           <div ng-switch-when="hint_visa_attach_prompt1">
             <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">
                <div class="radio" ng-repeat="item in ele.info">
                  <label 
                  class="i-checks  checkbox-inline">
                    <input type="checkbox" value={{item.value}}
                  ng-checked="result[ele.id][item.value] == item.value"
                  name={{ele.id}}
                  ng-model="result[ele.id][item.value]"
                  >
                  <i></i>
                  {{item.name}}
                  </label>
                </div>
                </div>
          </div>

           <div ng-switch-when="hint_cancel_trip">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['hint_cancel_trip'] == '0'">
                    <label class="fl control-label ml10">取消行程最少人数</label>
                    <div class=" fl ml10">
                      <input type="text" class="form-control" 
                      ng-model="result['hint_min_travel_population']"
                      style="width:70px;" 
                      >
                    </div>
                    <label class="fl control-label ml10">取消行程提前通知天数</label>
                    <div class=" fl ml10">
                      <input type="number" class="form-control" 
                      ng-model="result['hint_ravel_advance_notification']"
                      style="width:70px;" 
                      >
                    </div>
                  </div>
                </form>

                </div>
              </div>
            </div>

            <div ng-switch-when="hint_touring_penalty">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['hint_touring_penalty'] == '0'">
                    <label class="fl control-label ml10">违约金额</label>
                    <div class=" fl ml10">
                      <input type="number" class="form-control" 
                      ng-model="result['hint_touring_out_money']"
                      style="width:70px;" 
                      >
                    </div>
                    <label class="fl control-label ml10">元/人</label>
                  </div>
                </form>

                </div>
              </div>
            </div>

            <div ng-switch-when="additional_hainan_payment">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['additional_hainan_payment'] == '0'">
                    <label class="fl control-label ml10">海南政府调节金为</label>
                    <div class=" fl ml10">
                      <input type="number" class="form-control" 
                      ng-model="result['additional_fee']"
                      style="width:70px;" 
                      >
                    </div>
                    <label class="fl control-label ml10">元/人</label>
                  </div>
                </form>

                </div>
              </div>
            </div>

             <div ng-switch-when="important_spell_group">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['important_spell_group'] == '1'">
                    <label class="fl control-label ml10">拼团备注</label>
                    <div class=" fl ml10">
                      <input type="text" class="form-control" 
                      ng-model="result['important_spell_group_extras']"
                      style="width:370px;" 
                      >
                    </div>
                  </div>
                </form>

                </div>
              </div>
            </div>

            <div ng-switch-when="important_spell_car">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['important_spell_car'] == '0'">
                    <label class="fl control-label ml10">拼车备注</label>
                    <div class=" fl ml10">
                      <input type="text" class="form-control" 
                      ng-model="result['important_spell_car_remark']"
                      style="width:370px;" 
                      >
                    </div>
                  </div>
                </form>

                </div>
              </div>
            </div>

             <div ng-switch-when="important_change_car_guide">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['important_change_car_guide'] == '0'">
                    <label class="fl control-label ml10">换车/导游备注</label>
                    <div class=" fl ml10">
                      <input type="text" class="form-control" 
                      ng-model="result['important_change_car_guide_remark']"
                      style="width:370px;" 
                      >
                    </div>
                  </div>
                </form>

                </div>
              </div>
            </div>

            <div ng-switch-when="important_update_travel">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['important_update_travel'] == '0'">
                    <label class="fl control-label ml10">升级行程备注</label>
                    <div class=" fl ml10">
                      <input type="text" class="form-control" 
                      ng-model="result['important_update_travel_remark']"
                      style="width:370px;" 
                      >
                    </div>
                  </div>
                </form>

                </div>
              </div>
            </div>

            <div ng-switch-when="spellgroup_count_right">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['spellgroup_count_right'] == '0'">
                    <label class="fl control-label ml10">拼团备注</label>
                    <div class=" fl ml10">
                      <input type="text" class="form-control" 
                      ng-model="result['spellgroup_estimate_remark']"
                      style="width:370px;" 
                      >
                    </div>
                  </div>
                </form>

                </div>
              </div>
            </div>

             <div ng-switch-when="special_order_min_right">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['special_order_min_right'] == '0'">
                    <label class="fl control-label ml10">最少人数</label>
                    <div class=" fl ml10">
                      <input type="number" class="form-control" 
                      ng-model="result['special_order_min_num']"
                      style="width:70px;" 
                      >
                    </div>
                    <label class="fl control-label ml10">人</label>
                  </div>
                </form>

                </div>
              </div>
            </div>

             <div ng-switch-when="special_order_max_right">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['special_order_max_right'] == '0'">
                    <label class="fl control-label ml10">最大人数</label>
                    <div class=" fl ml10">
                      <input type="number" class="form-control" 
                      ng-model="result['special_order_max_num']"
                      style="width:70px;" 
                      >
                    </div>
                    <label class="fl control-label ml10">人</label>
                  </div>
                </form>

                </div>
              </div>
            </div>

             <div ng-switch-when="special_age_min_right">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['special_age_min_right'] == '0'">
                    <label class="fl control-label ml10">最小年龄</label>
                    <div class=" fl ml10">
                      <input type="number" class="form-control" 
                      ng-model="result['special_age_min_num']"
                      style="width:70px;" 
                      >
                    </div>
                    <label class="fl control-label ml10">岁</label>
                  </div>
                </form>

                </div>
              </div>
            </div>

             <div ng-switch-when="special_age_max_right">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['special_age_max_right'] == '0'">
                    <label class="fl control-label ml10">最大年龄</label>
                    <div class=" fl ml10">
                      <input type="number" class="form-control" 
                      ng-model="result['special_age_max_num']"
                      style="width:70px;" 
                      >
                    </div>
                    <label class="fl control-label ml10">岁</label>
                  </div>
                </form>

                </div>
              </div>
            </div>

             <div ng-switch-when="special_exceed_age_right">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['special_exceed_age_right'] == '0'">
                    <label class="fl control-label ml10">年龄</label>
                    <div class=" fl ml10">
                      <input type="number" class="form-control" 
                      ng-model="result['special_exceed_age_num']"
                      style="width:70px;" 
                      >
                    </div>
                    <label class="fl control-label ml10">岁</label>
                  </div>
                </form>

                </div>
              </div>
            </div>

             <div ng-switch-when="special_age_restriction">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['special_age_restriction'] == '0'">
                    <label class="fl control-label ml10">年龄限制范围</label>
                    <div class=" fl ml10">
                      <input type="text" class="form-control" 
                      ng-model="result['special_age_restriction_num']"
                      style="width:270px;" 
                      >
                    </div>
                    <label class="fl control-label ml10">（请输入一个区间）</label>
                  </div>
                </form>

                </div>
              </div>
            </div>

             <div ng-switch-when="special_region_limit">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result[ele.id] == item.value"
                      ng-model="result[ele.id]"
                      
                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                  <div ng-show="result['special_region_limit'] == '0'">
                    <label class="fl control-label ml10">地域限制列表</label>
                    <div class=" fl ml10">
                      <textarea type="text" class="form-control" 
                      ng-model="result['special_region_limit_list']"
                      style="width:270px;" 
                      >
                      </textarea>
                    </div>

                  </div>
                </form>

                </div>
              </div>
            </div>


            <!-- lc自驾 -->
            <div ng-switch-when="hint_self_driving_writing">
              <div class="form-group">
                <label class="col-sm-2 control-label">{{ele.title}}</label>
                <div class="col-sm-10">

                <form class="form-inline" role="form">
                  <div class=" fl">
                    <label ng-repeat="item in ele.info"
                    class="i-checks  checkbox-inline">
                      <input type="radio" value={{item.value}} name={{ele.id}}
                      ng-checked="result['hint_self_driving_writing'] == item.value"
                      ng-model="result[ele.id]"

                      >
                      <i></i>
                      {{item.name}}
                    </label>
                  </div>
                </form>

                </div>
              </div>
            </div>

        <div ng-switch-when="hint_self_driving_writing_content"
        ng-show="result['hint_self_driving_writing'] == '0'">
        <div class="form-group">
          <label class="col-sm-2 control-label"
          for={{ele.id}}>{{ele.title}}</label>
          <div class="col-sm-10">
            <input id={{ele.id}} type="text" class="form-control"
            placeholder={{ele.placeholder}}
            ng-model="result['hint_self_driving_writing_content']"
            ng-required={{ele.required}}
            ng-disabled=ele.lock
            >
            <span class="help-block m-b-none">{{ele.tip}}</span>
          </div>
        </div>

        </div>

        <!--付款预定须知加横线-->

        <div ng-switch-when="hint_payment_attention">
          <div class="line line-dashed b-b line-lg pull-in" ng-show="result['hint_self_driving_writing'] == '0'"></div>
        <div class="form-group">
          <label class="col-sm-2 control-label"
          for={{ele.id}}>{{ele.title}}</label>
          <div class="col-sm-10">
            <input id={{ele.id}} type="text" class="form-control"
            placeholder={{ele.placeholder}}
            ng-model="result['hint_payment_attention']"
            ng-required={{ele.required}}
            ng-disabled=ele.lock
            >
            <span class="help-block m-b-none">{{ele.tip}}</span>
          </div>
        </div>

        </div>
          
         
        <div ng-switch-default>

          <dlqform ></dlqform>

        </div>
      </div>

      <div class="line line-dashed b-b line-lg pull-in"
      ng-if="ele.show !== 'no'"
      ></div>
    </div>

    <div class="m-t m-b">

      <button type="submit" class="btn btn-default btn-rounded" 
      ng-click="gogogo()"
      >保存</button>

    </div>

  </form>
</div>